import request from '@/utils/request'

export function carList() {
    return request({
        url: '/car/list',
        method: 'get'
    })
}

export function carAdd(data){
    return request({
        url: '/car/add',
        method: 'post',
        data
     })
}

export function carDelete(data){
    return request({
        url: '/car/delete',
        method: 'post',
        data
     })
}

export function carEdit(data){
    return request({
        url: '/car/edit',
        method: 'post',
        data
     })
}

export function carSelect(data){
    return request({
        url: '/car/select',
        method: 'post',
        data
     })
}
